package com.cinc.ebc.sd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cinc.ebc.sd.entity.SdContractDetail;

import java.util.List;
import java.util.Map;

/**
 * @Description: 销售合同明细
 * @Author: jeecg-boot
 * @Date:   2022-08-01
 * @Version: V1.0
 */
public interface ISdContractDetailService extends IService<SdContractDetail> {

	public List<SdContractDetail> selectByMainId(String mainId);

    /**
     * 首页合同金额统计
     * @return
     */
    Map<String, Object> queryPriceStatFp();

    /**
     * 首页合同月度金额统计查询
     * @return
     */
    List<Map<String, Object>> queryMonthPriceStatFp();
}
